package com.yiwei.jmx.api.model;

import com.yiwei.jmx.api.bean.ResponModel;

import java.util.List;

/**
 * Created by xsooy-pc on 18-10-24.
 */

public class DealIndexModel extends ResponModel {


    /**
     * data : {"channel":[{"name":"有米贷","company_id":"100","money_max":"30000","money_min":"1000","icon":"img3.zhixinpai.cn/public/attachment/201606/22/16/20160622161732742.jpg","item":["认证越多 额度越高","日息最低 0.04%","提前还款  无手续费","申请"],"is_auth":0,"auth_money":0,"deal_status":"-1","deal":{"repay_date":"2018-11-04","break_day":0,"impose_fee":0}}],"life":[{"link":"www.baidu.com","img":"http://php.net/images/logos/php-logo.svg"},{"link":"www.baidu.com","img":"http://php.net/images/logos/php-logo.svg"},{"link":"www.baidu.com","img":"http://php.net/images/logos/php-logo.svg"},{"link":"www.baidu.com","img":"http://php.net/images/logos/php-logo.svg"},{"link":"www.baidu.com","img":"http://php.net/images/logos/php-logo.svg"}],"rookie":[{"link":"www.baidu.com","img":"http://php.net/images/logos/php-logo.svg"},{"link":"www.baidu.com","img":"http://php.net/images/logos/php-logo.svg"},{"link":"www.baidu.com","img":"http://php.net/images/logos/php-logo.svg"},{"link":"www.baidu.com","img":"http://php.net/images/logos/php-logo.svg"},{"link":"www.baidu.com","img":"http://php.net/images/logos/php-logo.svg"},{"link":"www.baidu.com","img":"http://php.net/images/logos/php-logo.svg"}]}
     */

    public DataBean data;

    public static class DataBean {
        public List<ChannelBean> channel;
        public List<LifeBean> life;
        public List<RookieBean> rookie;

        public static class ChannelBean {
            /**
             * name : 有米贷
             * company_id : 100
             * money_max : 30000
             * money_min : 1000
             * icon : img3.zhixinpai.cn/public/attachment/201606/22/16/20160622161732742.jpg
             * item : ["认证越多 额度越高","日息最低 0.04%","提前还款  无手续费","申请"]
             * is_auth : 0
             * auth_money : 0
             * deal_status : -1
             * deal : {"repay_date":"2018-11-04","break_day":0,"impose_fee":0}
             */

            public String name;
            public String company_id;
            public String money_max;
            public String money_min;
            public String channel_id;
            public String icon;
            public String is_auth;
            public String auth_money;
            public String deal_status;
            public DealBean deal;
            public List<String> item;

            public static class DealBean {
                /**
                 * repay_date : 2018-11-04
                 * break_day : 0
                 * impose_fee : 0
                 */

                public String repay_date;
                public String break_day;
                public String impose_fee;
                public String deal_id;
                public String money;
                public String mesg;
                public String next_apply_time;

            }
        }

        public static class LifeBean {
            /**
             * link : www.baidu.com
             * img : http://php.net/images/logos/php-logo.svg
             */

            public String link;
            public String img;
        }

        public static class RookieBean {
            /**
             * link : www.baidu.com
             * img : http://php.net/images/logos/php-logo.svg
             */

            public String link;
            public String img;
            public String title;
            public String desc;
        }
    }
}
